#ifndef __GGEAR_COLOR_H
#define __GGEAR_COLOR_H

#include "ggear_types.h"

namespace ggear
{
	namespace gfx
	{
		struct Color
		{
			Color() 
				: RGBA(0xFF) {}

			Color(u8 _red, u8 _green, u8 _blue, u8 _alpha = 0xFF)
				: Red(_red), Green(_green), Blue(_blue), Alpha(_alpha) {}

			//! Color channels
			union
			{
				u32 RGBA;
				struct
				{
					u8 Alpha;
					u8 Blue;
					u8 Green;
					u8 Red;
				};
			};
		};
	}
}

#endif